package cn.edu.csust.coursecard.dao.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    
    //评论或者回复的id
    private Integer id;
    
    private UserInfo userInfo;
    
    private Integer postId;
    
    //回复的内容
    private String content;
    
    // 0:评论，1：回复
    private Integer type;
    
    //消息发布时间
    private Date createTime;
    
}
